import calendar
from datetime import datetime

def get_time_str():
    now = datetime.now()
    return now.strftime("%Y%m%d_%H%M%S")

def get_today():
    now = datetime.now()
    return now.year, now.month, now.day

def get_next_month():
    now = datetime.now()
    if now.month == 12:
        return now.year + 1, 1
    else:
        return now.year, now.month + 1

def get_days(year, month):
    _, days = calendar.monthrange(year, month)
    return list(range(1, days + 1))

def get_weekday(year, month, day):
    weekdayNames = ["一", "二", "三", "四", "五", "六", "日"]
    return weekdayNames[calendar.weekday(year, month, day)]

def get_weekdays(year, month):
    days = get_days(year, month)
    weekdays = []
    for day in days:
        weekdays.append(get_weekday(year, month, day))
    return weekdays